#ResEdit CExample
#This is the script file BuildEditor which builds the c ResEdit editor example 

Open "{WorkSheet}"

set start `date -n`
echo Building the ResEdit c editor example
date -t

# Set the directory to the 'CExamples MPW 3.0' folder
directory "{boot}"ResEdit:Examples:CExamples:

# Set the variable to indicate where ResEdit can be found.
#  This variable is used by the make file to put the 
#  example editor into ResEdit.
set buildToName "{boot}ResEdit:ResEdit"
Export buildToName

make -f MakeEditor > temp
temp
delete temp

beep 
set end `date -n`
echo "        " built in `Evaluate ({end} - {start}) DIV 60` "minutes " `Evaluate ({end} - {start}) MOD 60` "seconds"


